package pcloud.client.remoteservice;

import java.io.File;
import java.io.IOException;
import java.util.List;

import pcloud.client.util.FileResourceInfo;

public interface FileService
{
	boolean createFolder(FileResourceInfo fileInfo) throws IOException;

	boolean uploadFile(FileResourceInfo fileInfo) throws IOException;

	boolean downloadFile(FileResourceInfo fileInfo) throws IOException;

	List<FileResourceInfo> list(String path) throws IOException;

	FileResourceInfo getResource(String path) throws IOException;

	void release();

	boolean delete(FileResourceInfo fileInfo) throws IOException;

	boolean downloadFile(String remotePath, String localPath);

	boolean uploadFile(String remotePath, String localPath);
}
